package handler

import (
	"net/http"

	"github.com/gin-gonic/gin"
)

type TokenCheckHandler interface {
	Index(ctx *gin.Context)
}

func NewTokenCheckHandler() TokenCheckHandler {
	return &tokenCheckHandler{}
}

// Matches /queryNonSystemLevelTokenChecks of http get action.
func (*tokenCheckHandler) Index(ctx *gin.Context) {
	SendStatusResponse(ctx, http.StatusNoContent)
}

// Container of TokenCheckHandler functions.
type tokenCheckHandler struct{}
